package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * @author:fff
 * @time:2022/2/25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "wages")
@Accessors(chain = true)
public class Wages extends PublicPo{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("unit_price")
    private BigDecimal unitPrice;
    private Integer output;
    @TableField("working_hours")
    private String workingHours;
    @TableField("create_time")
    private Date createTime;
    @TableField("create_id")
    private Integer createId;
    @TableField("update_time")
    private Date updateTime;
    @TableField(updateStrategy = FieldStrategy.IGNORED,value = "other")
    private String other;
    @TableField("del_flag")
    private Integer delFlag;
    @TableField(exist = false)
    private Map<String,Object> map;

    @TableField(exist = false)
    private String createName;
    @TableField(exist = false)
    private BigDecimal estimateWage;

    @TableField(exist = false)
    @ApiModelProperty("当前匹配规则适用的userId")
    private String userId;

}
